

            <g:set var="entityName" value="${message(code: 'courseware.label', default: 'Courseware')}" />
            <h1><g:message code="default.list.label" args="[categorys ? categorys.name : entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">Home</a></span>
            <span class="menuButton"><g:link class="create" action="create" params="['category.id' : categorys?.id]"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
            </div>